package org.bee.mappers.ext;

import org.apache.ibatis.annotations.Param;
import org.bee.model.Permission;

import java.util.List;

public interface PermissionExtMapper {
    List<Permission> getPermissionByUserId(@Param("userId") String userId);

    List<Permission> getPermissionByRoleId(String roleId);
}
